{if ! $_session.user.username}

<div class="padded grey-box">
	<h2 class="icon login-user">Login</h2>
	
	<p>
		Login to the Kudostar private beta!
	</p>
	
	<hr />
	
	<form action="#">
		<label for="username">
			Username:
			<input type="text" id="username" name="username" />
		</label>
		
		<label for="password">
			Password:
			<input type="password" id="password" name="password" />
		</label>
		
		<hr />
		
		<button onclick="dash.get('user.authenticate', {ldelim} username: $('form #username').val(), password: $('form #password').val() {rdelim}, dash.fullReload); return false;" class="icon login-user">
			Login
		</button>
	</form>
		
	<br class="clear" />
</div>

{/if}
